package pointer

import "fmt"


func real(a int ) int {
	a = a+1
	return a
}


func fake(a *int)  {
	*a = *a + 1
	return
}

func Test()  {
	a := 0 
	real(a)
	
	fmt.Println(a)
	fmt.Println(real(a))


	fake(&a)
	fmt.Println(a)
}